

import corpTpl from './corp.view.html';
import corpDetailTpl from './corpDetail.view.html';
import corpCtrl from './corp.controller';
import corpDetailCtrl from './corpDetail.controller';

export default ($stateProvider) => {
    "ngInject"
    $stateProvider
        .state('corp', {
            url         : "/corp",
            templateUrl : corpTpl,
            controller  : corpCtrl,
            controllerAs: "vm",
            resolve : {

            }
        })
        .state('corp/detail', {
            url         : "/corp/detail/:pid/:id/:tab",
            templateUrl : corpDetailTpl,
            controller  : corpDetailCtrl,
            controllerAs: "vm",
            reloadOnSearch: false
        })
}




